/*
 * Created on 14/08/2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package org.sidora.core;



/**
 * Classe que s'utilitza per a realitzar datacions
 * @author Enric Tartera, Juan Manuel Gimeno, Roger Masgoret
 * @version 1.0
 */
public class Dating {
	
	/**
	 * Variable que representa el Tempus Post Quem "standard"
	 */
	private int tpq;
	/**
	 * Variable que representa el Tempus Ante Quem "standard"
	 */
	private int taq;
	
	private int tpqmaterial;
	private int taqmaterial;
	
	private int tpqformation;
	private int taqformation;
	
	//TODO ???
        private Phase phase;
	
        
        //TODO ???
	private Category criteria;

	
	
	public String toString(){
		String str ="("+tpq+"/"+taq+")";
		return str;
	}
	
	/**
	 * @return Returns the taq.
	 */
	public Integer getTaq() {
		return new Integer(taq);
	}
	/**
	 * @param taq The taq to set.
	 */
	public void setTaq(int taq) {
		this.taq = taq;
	}
	/**
	 * @return Returns the tpq.
	 */
	public Integer getTpq() {
		return new Integer(tpq);
	}
	/**
	 * @param tpq The tpq to set.
	 */
	public void setTpq(int tpq) {
		this.tpq = tpq;
	}

	public Phase getPhase() {
		return phase;
	}

	public void setPhase(Phase phase) {
		this.phase = phase;
	}

	public Integer getTaqformation() {
		return taqformation;
	}

	public void setTaqformation(int taqformation) {
		this.taqformation = taqformation;
	}

	public Integer getTaqmaterial() {
		return taqmaterial;
	}

	public void setTaqmaterial(int taqmaterial) {
		this.taqmaterial = taqmaterial;
	}

	public Integer getTpqformation() {
		return tpqformation;
	}

	public void setTpqformation(int tpqformation) {
		this.tpqformation = tpqformation;
	}

	public Integer getTpqmaterial() {
		return tpqmaterial;
	}

	public void setTpqmaterial(int tpqmaterial) {
		this.tpqmaterial = tpqmaterial;
	}

	public Category getCriteria() {
		return criteria;
	}

	public void setCriteria(Category criteria) {
		this.criteria = criteria;
	}
	
}
